package cn.cheegon.blog.service.impl;

import cn.cheegon.blog.entity.rsp.CountBlogRsp;
import cn.cheegon.blog.mapper.AdminHomeMapper;
import cn.cheegon.blog.service.AdminHomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/7/3  下午4:44
 */
@Service
public class AdminHomeServiceImpl implements AdminHomeService {
    @Autowired
    AdminHomeMapper adminHomeMapper;
    @Override
    public CountBlogRsp countBlog() {
        return adminHomeMapper.countBlog();
    }

}
